home *** CD-ROM | disk | FTP | other *** search
- package java.util;
-
- final class HashMap$EntrySet extends AbstractSet<Map.Entry<K, V>> {
- // $FF: synthetic field
- final HashMap this$0;
-
- private HashMap$EntrySet(HashMap var1) {
- this.this$0 = var1;
- }
-
- public Iterator<Map.Entry<K, V>> iterator() {
- return this.this$0.newEntryIterator();
- }
-
- public boolean contains(Object var1) {
- if (!(var1 instanceof Map.Entry)) {
- return false;
- } else {
- Map.Entry var2 = (Map.Entry)var1;
- HashMap.Entry var3 = this.this$0.getEntry(var2.getKey());
- return var3 != null && var3.equals(var2);
- }
- }
-
- public boolean remove(Object var1) {
- return this.this$0.removeMapping(var1) != null;
- }
-
- public int size() {
- return this.this$0.size;
- }
-
- public void clear() {
- this.this$0.clear();
- }
-
- // $FF: synthetic method
- HashMap$EntrySet(HashMap var1, HashMap.1 var2) {
- this(var1);
- }
- }
-